<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>UPMS</title>
	<%@ include file="/common/meta.jsp" %>
	<link href="${ctx}/js/validate/jquery.validate.css" type="text/css" rel="stylesheet"/> 
	<link href="${ctx}/css/style.css" type="text/css" rel="stylesheet"/>
	<script src="${ctx}/js/validate/jquery.validate.js" type="text/javascript"></script>
	<script src="${ctx}/js/validate/messages_cn.js" type="text/javascript"></script>
	<script>
		$(document).ready(function() {
			//聚焦第一个输入框
			$("#term").focus();
			//为inputForm注册validate函数
			$("#inputDictionary").validate({
				rules: {
					term: "required",
					shortcutKey: "required"
				}
			});
		});
	</script>
</head>
<body>
<div style="font-family:Arial;font-size:15px;font-weight:bold;font-style:normal;align:left">UPMS - Issue</div>
<form id="mainform" action="issue!save.action" method="post">
<div id="message"><s:actionmessage theme="mytheme" cssClass="error"/></div>
<div id="content">
	<table width="99.5%" class="main-content">
		<tr>
			<td nowrap="nowrap" align="right">Issue ID:</td>
			
			<td><input name="issueId" value="${issueId}" readonly="readonly" type="text"></td>
			<td nowrap="nowrap"></td>
			<td nowrap="nowrap" align="right">Created By: </a>


			</td>
										
				<td><input name="createdBy" value="${createdBy}" type="text"></td>
				<td>&nbsp;</td>
		</tr>

		<tr>
			<td nowrap="nowrap" align="right">Category / Owner:</td>
			<td></td>
			<td colspan="5"><input name="orig_category" value="43"
				type="hidden"> <select name="category">
						<option value="37">Application Module (Raguraman V)</option>
						<option value="6">CC Functionality (Brahmaiah B,
							Support: Rebecca Chersin)</option>
						<option value="5">WebLogic Server (Anil Jain)</option>
				</select></td>
		</tr>
		<tr>
			<td nowrap="nowrap" align="right">Created On:</td>
			
			<td><input name="createdDate" value="${createdDate}" type="text"></td>
			<td nowrap="nowrap"></td>
			<td nowrap="nowrap" align="right">Assigned To:</td>
			
			<td><input name="assignee" value="${assignee }" type="text"></td>
		</tr>
		<tr>
			<td nowrap="nowrap" align="right">Status:</td>
			
			<td><input name="issueStatus" value="${issueStatus }" type="hidden">
					<select name="status">
						<option value="Open" selected="selected">Open</option>
						<option value="Researching">Researching</option>
						<option value="Fixing">Fixing</option>
						<option value="Testing">Testing</option>
						<option value="Closed">Closed</option>
				</select></td>
			<td></td>
			<td align="right">* Issue Type:</td>
			<td></td>
			<td><select name="issueType" value=${issueType }>
					<option value="" selected="selected"></option>
					<option value="DEV">Development</option>
					<option value="FT">Focus Testing</option>
					<option value="ST">System Testing</option>
					<option value="RT">Regression Testing</option>
					<option value="R28">R28/29 Testing</option>
					<option value="ORT">Operational Readiness Testing</option>
					<option value="PT">Parallel Testing</option>
					<option value="ADA">ADA Testing</option>
					<option value="SCRPT">Script Testing</option>
					<option value="PGVAL">Page Validation</option>
					<option value="UAT">UAT Issue</option>
			</select></td>
		</tr>
		<tr>
			<td nowrap="nowrap" align="right">* Page ID:</td>
			<td></td>
			<td><input name="pageId" value="${pageId }" size="10"
				maxlength="8" type="text"></td>
			<td></td>
			<td nowrap="nowrap" align="right">Priority:</td>
			<td></td>
			<td><input name="priority" value="${priority }" size="8" maxlength="8"
				type="text"></td>
			<td width="100%">&nbsp;</td>
		</tr>

		<tr>
			<td align="right">Page Name:</td>
			<td></td>
			<td></td>
			<td></td>
			<td align="right">Developer:</td>
			<td></td>
			<td></td>
		</tr>

		<tr>
			<td align="right">Priority Pages:</td>
			<td></td>
			<td align="left"></td>
			<td></td>
			<td align="right">Total Pages:</td>
			<td></td>
			<td align="left"></td>
			<td></td>
		</tr>

		<tr>
			<td nowrap="nowrap">* Title:</td>
		</tr>
		<tr>
			<td colspan="8" nowrap="nowrap"><textarea
					style="font-size: 10pt;" name="issueTitle" rows="1" cols="100">${issueTitle}</textarea>
			</td>
		</tr>
		<tr>
			<td nowrap="nowrap">* Description:</td>
		</tr>
		<tr>
			<td colspan="8" nowrap="nowrap"><textarea
					style="font-size: 10pt;" name="description" rows="8" cols="100">${description}</textarea>
			</td>
		</tr>
		<tr>
			<td nowrap="nowrap">Comments:</td>
			
		</tr>
		<tr>
			<td colspan="8" nowrap="nowrap"><textarea name="comments"
					style="font-size: 10pt;" rows="8" cols="100">${comments }</textarea></td>
		</tr>
		<tr>
			<td nowrap="nowrap" align="right">Resolution Type:</td>
			<td></td>
			<td><input name="oldResType" value="" type="hidden">
					<select name="resolutionType" value="${resolutionType}">
						<option value=""></option>
						<option value="PF">Page Fix</option>
						<option value="AF">Architecture Fix</option>
						<option value="DE">Deviation</option>
						<option value="NF">No Fix needed</option>
				</select></td>
			<td></td>
			<td nowrap="nowrap" align="right">Resolved By:</td>
			<td></td>
			<td width="100%" align="left"><select name="resolvedBy" value="${resolvedBy }">
					<option value=""></option>
					<option value="59">Abhilash S</option>
					<option value="168">Adriana Marmo</option>
					<option value="60">Ajay Aloor</option>
					<option value="33">Zhou, Shu-xu</option>

			</select></td>
		</tr>
		<tr>
			<td nowrap="nowrap" align="right">Resolve Date:</td>
			
			<td><input name="resolveDate" value="${resolveDate}" readonly="readonly"
				title="Click to set the date to today" 
				type="text"></td>
		</tr>
		<tr>
			<td nowrap="nowrap">Resolution:</td>
			
		</tr>
		<tr>
			<td colspan="8" nowrap="nowrap"> <textarea
						style="font-size: 10pt;" name="resolution" rows="8" cols="100">${resolution }</textarea></td>
		</tr>
		<tr>
			<td align="right" nowrap="nowrap">Load a document?:</td>
			<td></td>
			<td colspan="6"><input name="picture" type="file"></td>
		</tr>
	</table>
</div>
</form>
</body>
</html>